<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>万能新理工</title>
    <link rel="stylesheet" href="__STATIC__/index/assets/sui/dist/css/sm.css">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_2008579_wi32sytndy.css">
    <link rel="stylesheet" href="__STATIC__/index/assets/css/index.css">
    <link rel="stylesheet" href="__STATIC__/index/assets/sui/dist/css/sm-extend.min.css">
</head>

<body>
<!-- page 容器 -->
<!-- page 容器 -->
<div class="page_group">
    <div class="page">

        <!-- 工具栏 -->
        <nav class="bar bar-tab">
            <a class="tab-item external active" href="{:url('index')}">
                <span class="icon icon-home"></span>
                <span class="tab-label">首页</span>
            </a>
            <a class="tab-item external" href="{:url('orderhall/index')}">
                <span class="icon iconfont icondating"></span>
                <span class="tab-label">大厅</span>
            </a>
            <a class="tab-item external" href="{:url('myorder/index')}">
                <span class="icon iconfont icondingdan"></span>
                <span class="tab-label">订单</span>
            </a>
            <a class="tab-item external" href="{:url('user/index')}">
                <span class="icon icon-me"></span>
                <span class="tab-label">我的</span>
            </a>
        </nav>
        <div class="content">
            <div class="swiper-container" data-space-between='10'>
                <div class="swiper-wrapper">
                    <div class="swiper-slide"><img src="__STATIC__/index/assets/image/banner1.png" alt=""></div>
                    <div class="swiper-slide"><img src="__STATIC__/index/assets/image/banner2.png" alt=""></div>
                    <div class="swiper-slide"><img src="__STATIC__/index/assets/image/banner3.png" alt=""></div>
                </div>
                <div class="swiper-pagination"></div>
            </div>
            <div class="main_list">
                <div class="go_list">
                    <a {if session('user')} href="{:url('order/index')}" {else /} onclick="openTit('请先登录')" {/if}><img src="__STATIC__/index/assets/image/fan.png" alt="">
                        <div class="go_one">
                            <span>我要吃饭</span>
                            <span>点这里买饭</span>
                        </div>
                    </a>
                    <a {if session('user')} href="{:url('order/index')}" {else /} onclick="openTit('请先登录')" {/if}><img src="__STATIC__/index/assets/image/ls.png" alt="">
                        <div class="go_one">
                            <span>我嘴馋了</span>
                            <span>买零食和水果</span>
                        </div>
                    </a>
                </div>
                <div class="go_list">
                    <a href="" onclick="openTit('马不停蹄开发中')"><img src="__STATIC__/index/assets/image/dayin.png" alt="">
                        <div class="go_one">
                            <span>我要打印</span>
                            <span>点这里打印</span>
                        </div>
                    </a>
                    <a href="" onclick="openTit('马不停蹄开发中')"><img src="__STATIC__/index/assets/image/cheat.png" alt="">
                        <div class="go_one">
                            <span>我心情不好</span>
                            <span>畅快聊天</span>
                        </div>
                    </a>
                </div>

            </div>
        </div>


    </div>
</div>

</body>
<script src='http://cdn.bootcss.com/jquery/3.1.1/jquery.min.js'></script>
<script src='__STATIC__/index/assets/sui/dist/js/sm.js'></script>
<script type='text/javascript' src='__STATIC__/index/assets/sui/dist/js/sm-extend.js' charset='utf-8'></script>
<script>
    $(function() {
        var swiper_config = {
            loop: true,
            autoplay:true,
            speed:5000,
        }
        $(".swiper-container").swiper(swiper_config);
    });
    var defaults = {
        autoInit: false, //自动初始化页面
        showPageLoadingIndicator: true, //push.js加载页面的时候显示一个加载提示
        router: true
    };
    $.config = $.extend(defaults, $.config);
    function openTit(msg) {
        $.toast(msg);
    }
</script>
</html>